<%@page import="entity.News"%>
<%@page import="java.util.List"%>
<%@page import="biz.impl.NewsBizImpl"%>
<%@page import="biz.NewsBiz"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>

</head>
<body>
	 <%
		NewsBiz biz = new NewsBizImpl();
		List<News> newses = biz.findAllNews();
	%>
      <ul>
      <%
		for(News n : newses){
	  %>
        <li>
        	<a href='#'><b> <%=n.getTitle() %> </b></a>
       		<a href="delete.jsp?id=<%=n.getId() %>">删除</a>
       		<a href="doEdit.jsp?id=<%=n.getId() %>">编辑</a>
       		
        </li>
      <%
		}
	  %>
	  </ul>
	  ${msg}
</body>
</html>





